<div align="center">
    <table class="border" summary="المواضيع المتطابقة" border="1" cellspacing="1" width="97%">
    <tr>
      <td  class="tcat" width="100%" colspan="5">المواضيع المتطابقة</td>
      </tr>
    <tr>
      <td  class="thead" width="41%">العنوان</td>
      <td  class="thead" width="12%">الكاتب</td>
      <td  class="thead" width="23%">القسم</td>
      <td  class="thead" width="15%">آخر رد</td>
      <td  class="thead" width="9%">الردود</td>
    </tr>
    {section name=idx loop=$getsamesubject_rows}
    <tr>
      <td  class="row3"><a href="show.php?main=1&amp;id={$getsamesubject_rows[idx].id}">{$getsamesubject_rows[idx].title|escape:"html"}</a></td>
      <td  class="row3dark"><a href="misc.php?profile=1&amp;username={$getsamesubject_rows[idx].writer}">{$getsamesubject_rows[idx].writer|escape:"html"}</a></td>
      <td  class="row3"><a href="forum.php?show=1&amp;id={$getsamesection_row[idx].id}">{$getsamesection_row[idx].title|escape:"html"}</a></td>
      <td  class="row3dark">{if $getsamereply_rows[idx] neq ""}<a href="misc.php?profile=1&amp;username={$getsamereply_rows[idx].writer|escape:"html"}">{$getsamereply_rows[idx].writer|escape:"html"}</a>{else}لا يوجد ردود{/if}</td>
      <td  class="row3">{$getsamesubject_rows[idx].reply_number}</td>
    </tr>
    {/section}
  </table>
</div>
<br />